Skip to content

Conversation

wcmatthysen
Copy link
Member

@wcmatthysen wcmatthysen commented Apr 9, 2019

Description of the Change

Pull-request from @christianliebl containing additional null-checks to ColladaMeshShape to allow for Collada models without textures to be loaded.

Why Should This Be In Core?

This is a simple oversight that should have been included in the initial class. The null-check is already present in the getInstanceMaterial() method. Adding it to getTextureSource() and getEffect() allows for Collada models without textures to be loaded.

Benefits

Collada models without textures can now be loaded.

Potential Drawbacks

None

Applicable Issues

None

@wcmatthysen wcmatthysen added the bug Something isn't working label Apr 9, 2019
@wcmatthysen wcmatthysen self-assigned this Apr 9, 2019
@wcmatthysen wcmatthysen requested a review from emxsys April 9, 2019 10:41
@emxsys emxsys added this to the WWJ-CE 2.2.0 milestone Apr 9, 2019
@emxsys emxsys merged commit 47e91d4 into WorldWindEarth:develop Apr 9, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants